package dao;

import entity.User;
import org.springframework.stereotype.Repository;

@Repository
public interface UserDao {

    public User selectByUsername(String username);

    public void insert(User user);

    public User selectByUsernameAndPassword(String username,String password);

}
